-- GENERATED SPELL FOR [Canal Frenzy] --


function spell0_15505(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(12097,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15505', 20291, 1)
end

function Sorts_15505(pUnit, Event)
local choix_sorts_15505 = math.random(0, 0)
if choix_sorts_15505 == 0 then
pUnit:RegisterEvent('spell0_15505', 1, 1)
end
end

function mob15505_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15505', math.random(1500, 3000), 1)
end

function mob15505_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15505_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15505_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15505, 1, 'mob15505_Action')
RegisterUnitEvent(15505, 2, 'mob15505_Leave')
RegisterUnitEvent(15505, 3, 'mob15505_Kill')
RegisterUnitEvent(15505, 4, 'mob15505_Die')
